<?php
$this->breadcrumbs=array(
	UserModule::t('Users')=>array('admin'),
	UserModule::t('Create'),
);
?>
<?php 
$userid = Yii::app()->user->id;
$user = User::model()->find('id=:ID ',array(':ID'=>$userid));
$unit_level = $user->unit_level;
?>

<div id="page-header">
	<h1><?php echo UserModule::t("新增用户"); ?></h1>
    <div id="page-options">
	<?php $this->renderPartial('_menu',array(
    'model'=>$model,
	'unit_level' => $unit_level,
    )); ?>
    </div>
</div>

<?php 
	echo $this->renderPartial('_add_form', array('model'=>$model,'profile'=>$profile));
?>